package com.eminem.net.chat.serverthread2;

import java.io.Closeable;
import java.io.IOException;

public class CloseUtil {

	public static void close(Closeable... ios){
		for(Closeable temp : ios){
			try {
				if(temp != null){
					temp.close();
				}
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}
}
